﻿using System;
using System.Data;
using System.Collections.Generic;
using Maticsoft.Common;
using Maticsoft.Model;
namespace Maticsoft.BLL
{
	/// <summary>
	/// Books
	/// </summary>
	public partial class Books
	{
        /// <summary>
        /// 根据Id号批量删除记录
        /// </summary>
        /// <param name="ids">逗号隔开的id串</param>
        /// <returns>影响行数</returns>
        public int DeleteByIds(string ids)
        {
            return dal.DeleteByIds(ids);
        }
        /// <summary>
        /// 显示/隐藏数据
        /// </summary>
        /// <param name="ids">逗号隔开的id串</param>
        /// <param name="opeType">操作类型0显示1隐藏</param>
        /// <returns></returns>
        public int HiddenShow(string ids,int opeType)
        {
            return dal.HiddenShow(ids, opeType);
        }
        /// <summary>
        /// 批量修改销售价格
        /// </summary>
        /// <param name="ids">逗号隔开的id串</param>
        /// <param name="salePrice">修改后销售价格</param>
        /// <param name="salePrice">修改方式（0为id 1为分类）</param>
        /// <returns>影响行数</returns>
        public int ModifySalePriceByIds(string ids, string salePrice,string flag)
        {
            return dal.ModifySalePriceByIds(ids, salePrice, flag);
        }
	}
}

